package udp.message;

public class GetNonReturnersMessage extends LibraryMessage {

	static final long serialVersionUID = 16L;
	
	// TODO: should the non returners be returned as a string or a list of objects ?
	private String result;
	private String username;
	private int numDays;
	private String ei;
	private String password;
	private String replicaId;
	private boolean first;
	
	public GetNonReturnersMessage(String un, String pw, int numDays, String ei){
		super(LibraryMessageTypeEnum.GET_NON_RETURNERS);
		this.username = un;
		this.ei = ei;
		this.numDays = numDays;
		this.password = pw;
		this.result = "";
		this.replicaId ="";
		first = true;
	}
	
	
	public String getReplicaId() {
		return replicaId;
	}


	public void setReplicaId(String replicaId) {
		this.replicaId = replicaId;
	}


	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}


	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public int getNumDays() {
		return numDays;
	}
	public void setNumDays(int numDays) {
		this.numDays = numDays;
	}
	public String getEi() {
		return ei;
	}
	public void setEi(String ei) {
		this.ei = ei;
	}

	public boolean isFirst() {
		return first;
	}

	public void setFirst(boolean first) {
		this.first = first;
	}
	
}
